import bb.cascades 1.2

Container {
    property int fontSize: 300
    property variant textcolor
    property string pHours: "00";
    property string pMinutes: "00";
    property string pSeconds: "00";
    Container {
        horizontalAlignment: HorizontalAlignment.Center
        layout: StackLayout {
            orientation: LayoutOrientation.LeftToRight
        }
        Label {
            text: pHours
            textStyle.fontSize: FontSize.PercentageValue
            textStyle.fontSizeValue: fontSize
            textStyle.color: textcolor
        }
        Label {
            text: ":"
            textStyle.fontSize: FontSize.PercentageValue
            textStyle.fontSizeValue: fontSize
            textStyle.color: textcolor
        }
        Label {
            text: pMinutes
            textStyle.fontSize: FontSize.PercentageValue
            textStyle.fontSizeValue: fontSize
            textStyle.color: textcolor
        }
        Label {
            text: ":"
            textStyle.fontSize: FontSize.PercentageValue
            textStyle.fontSizeValue: fontSize
            textStyle.color: textcolor
        }
        Label {
            text: pSeconds
            textStyle.fontSize: FontSize.PercentageValue
            textStyle.fontSizeValue: fontSize
            textStyle.color: textcolor
        }
    }
}
